![]() |
SetFScaleDisable |
||||
Header: | Fonts.h | Carbon status: | Supported | |
Enables or disables the computation of font scaling factors by the Font Manager for bitmapped glyphs.
void SetFScaleDisable ( Boolean fscaleDisable );
Specifies whether bitmapped fonts are to be scaled. A value of TRUE indicates that font scaling is disabled; a value of FALSE indicates that font scaling is enabled.
If you set the fontScaleDisable parameter to TRUE, the Font Manager disables font scaling, which means it responds to a request for a font size that is not available by computing font scaling factors of 1/1 and returning a smaller, unscaled bitmapped font with the widths of the requested size. If you set the fontScaleDisable parameter to FALSE, the Font Manager computes scaling factors for bitmapped fonts.
QuickDraw performs the actual scaling of glyph bitmaps for bitmapped fonts by using the font scaling factors computed and returned by the Font Manager.
When font scaling is enabled, the Font Manager can scale a bitmapped glyph that is present in the System file to imitate the appearance of a bitmapped glyph in another point size that is not present. As a default, the Font Manager scales fonts to ensure compatibility with existing applications.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)